package com.windaka.suizhi.model.dto;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * ws解析对象
 * @author wzk
 * @date 11:39 2023/7/15
**/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "locationinfo")
public class LocationInfoDTO {

    @XmlAttribute(name = "objectid")
    private String objectId;

    @XmlAttribute(name = "object_type")
    private String objectType;

    @XmlAttribute(name = "event_time")
    private String eventTime;

    @XmlAttribute(name = "sys_time")
    private String sysTime;

    @XmlAttribute(name = "longitude")
    private String longitude;

    @XmlAttribute(name = "latitude")
    private String latitude;

    @XmlAttribute(name = "speed")
    private String speed;

    @XmlAttribute(name = "direction")
    private String direction;

    @XmlAttribute(name = "starnum")
    private String starnum;

    @XmlAttribute(name = "isvalid")
    private String isvalid;

    @XmlAttribute(name = "ison")
    private String ison;

}